package com.vastcom.sigma.admin.model;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;

@Entity
public class Cuptest {
    private String cuptestid;
    private String scpcid;
    private String bakeid;
    private Double hbd;
    private Timestamp bcsj;
    private String bcry;
    private Double gx;
    private Double sx;
    private Double fw;
    private Double hg;
    private Double sd;
    private Double chd;
    private Double yzx;
    private Double phg;
    private Double gjd;
    private Double td;
    private Double total;
    private String bcdj;
    private String bz;
    private String clqk;

    @Id
    @Column(name = "cuptestid")
    public String getCuptestid() {
        return cuptestid;
    }

    public void setCuptestid(String cuptestid) {
        this.cuptestid = cuptestid;
    }

    @Basic
    @Column(name = "scpcid")
    public String getScpcid() {
        return scpcid;
    }

    public void setScpcid(String scpcid) {
        this.scpcid = scpcid;
    }

    @Basic
    @Column(name = "bakeid")
    public String getBakeid() {
        return bakeid;
    }

    public void setBakeid(String bakeid) {
        this.bakeid = bakeid;
    }

    @Basic
    @Column(name = "hbd")
    public Double getHbd() {
        return hbd;
    }

    public void setHbd(Double hbd) {
        this.hbd = hbd;
    }

    @Basic
    @Column(name = "bcsj")
    public Timestamp getBcsj() {
        return bcsj;
    }

    public void setBcsj(Timestamp bcsj) {
        this.bcsj = bcsj;
    }

    @Basic
    @Column(name = "bcry")
    public String getBcry() {
        return bcry;
    }

    public void setBcry(String bcry) {
        this.bcry = bcry;
    }

    @Basic
    @Column(name = "gx")
    public Double getGx() {
        return gx;
    }

    public void setGx(Double gx) {
        this.gx = gx;
    }

    @Basic
    @Column(name = "sx")
    public Double getSx() {
        return sx;
    }

    public void setSx(Double sx) {
        this.sx = sx;
    }

    @Basic
    @Column(name = "fw")
    public Double getFw() {
        return fw;
    }

    public void setFw(Double fw) {
        this.fw = fw;
    }

    @Basic
    @Column(name = "hg")
    public Double getHg() {
        return hg;
    }

    public void setHg(Double hg) {
        this.hg = hg;
    }

    @Basic
    @Column(name = "sd")
    public Double getSd() {
        return sd;
    }

    public void setSd(Double sd) {
        this.sd = sd;
    }

    @Basic
    @Column(name = "chd")
    public Double getChd() {
        return chd;
    }

    public void setChd(Double chd) {
        this.chd = chd;
    }

    @Basic
    @Column(name = "yzx")
    public Double getYzx() {
        return yzx;
    }

    public void setYzx(Double yzx) {
        this.yzx = yzx;
    }

    @Basic
    @Column(name = "phg")
    public Double getPhg() {
        return phg;
    }

    public void setPhg(Double phg) {
        this.phg = phg;
    }

    @Basic
    @Column(name = "gjd")
    public Double getGjd() {
        return gjd;
    }

    public void setGjd(Double gjd) {
        this.gjd = gjd;
    }

    @Basic
    @Column(name = "td")
    public Double getTd() {
        return td;
    }

    public void setTd(Double td) {
        this.td = td;
    }

    @Basic
    @Column(name = "total")
    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    @Basic
    @Column(name = "bcdj")
    public String getBcdj() {
        return bcdj;
    }

    public void setBcdj(String bcdj) {
        this.bcdj = bcdj;
    }

    @Basic
    @Column(name = "bz")
    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    @Basic
    @Column(name = "clqk")
    public String getClqk() {
        return clqk;
    }

    public void setClqk(String clqk) {
        this.clqk = clqk;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Cuptest cuptest = (Cuptest) o;

        if (cuptestid != null ? !cuptestid.equals(cuptest.cuptestid) : cuptest.cuptestid != null) return false;
        if (scpcid != null ? !scpcid.equals(cuptest.scpcid) : cuptest.scpcid != null) return false;
        if (bakeid != null ? !bakeid.equals(cuptest.bakeid) : cuptest.bakeid != null) return false;
        if (hbd != null ? !hbd.equals(cuptest.hbd) : cuptest.hbd != null) return false;
        if (bcsj != null ? !bcsj.equals(cuptest.bcsj) : cuptest.bcsj != null) return false;
        if (bcry != null ? !bcry.equals(cuptest.bcry) : cuptest.bcry != null) return false;
        if (gx != null ? !gx.equals(cuptest.gx) : cuptest.gx != null) return false;
        if (sx != null ? !sx.equals(cuptest.sx) : cuptest.sx != null) return false;
        if (fw != null ? !fw.equals(cuptest.fw) : cuptest.fw != null) return false;
        if (hg != null ? !hg.equals(cuptest.hg) : cuptest.hg != null) return false;
        if (sd != null ? !sd.equals(cuptest.sd) : cuptest.sd != null) return false;
        if (chd != null ? !chd.equals(cuptest.chd) : cuptest.chd != null) return false;
        if (yzx != null ? !yzx.equals(cuptest.yzx) : cuptest.yzx != null) return false;
        if (phg != null ? !phg.equals(cuptest.phg) : cuptest.phg != null) return false;
        if (gjd != null ? !gjd.equals(cuptest.gjd) : cuptest.gjd != null) return false;
        if (td != null ? !td.equals(cuptest.td) : cuptest.td != null) return false;
        if (total != null ? !total.equals(cuptest.total) : cuptest.total != null) return false;
        if (bcdj != null ? !bcdj.equals(cuptest.bcdj) : cuptest.bcdj != null) return false;
        if (bz != null ? !bz.equals(cuptest.bz) : cuptest.bz != null) return false;
        if (clqk != null ? !clqk.equals(cuptest.clqk) : cuptest.clqk != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = cuptestid != null ? cuptestid.hashCode() : 0;
        result = 31 * result + (scpcid != null ? scpcid.hashCode() : 0);
        result = 31 * result + (bakeid != null ? bakeid.hashCode() : 0);
        result = 31 * result + (hbd != null ? hbd.hashCode() : 0);
        result = 31 * result + (bcsj != null ? bcsj.hashCode() : 0);
        result = 31 * result + (bcry != null ? bcry.hashCode() : 0);
        result = 31 * result + (gx != null ? gx.hashCode() : 0);
        result = 31 * result + (sx != null ? sx.hashCode() : 0);
        result = 31 * result + (fw != null ? fw.hashCode() : 0);
        result = 31 * result + (hg != null ? hg.hashCode() : 0);
        result = 31 * result + (sd != null ? sd.hashCode() : 0);
        result = 31 * result + (chd != null ? chd.hashCode() : 0);
        result = 31 * result + (yzx != null ? yzx.hashCode() : 0);
        result = 31 * result + (phg != null ? phg.hashCode() : 0);
        result = 31 * result + (gjd != null ? gjd.hashCode() : 0);
        result = 31 * result + (td != null ? td.hashCode() : 0);
        result = 31 * result + (total != null ? total.hashCode() : 0);
        result = 31 * result + (bcdj != null ? bcdj.hashCode() : 0);
        result = 31 * result + (bz != null ? bz.hashCode() : 0);
        result = 31 * result + (clqk != null ? clqk.hashCode() : 0);
        return result;
    }
}
